package com.kxmall.storage.domain.bo;

import com.kxmall.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 商品出库业务对象 kx_goods_out_stock
 */

@Data
@ApiModel("商品出库业务对象")
public class KxStorageOutGoodsBo {

    @ApiModelProperty(value = "商品出库ID")
    @NotNull(message = "商品出库ID不能为空", groups = { EditGroup.class })
    private Long id;

    @ApiModelProperty(value = "调入餐车表ID")
    private Long vehicleId;
    
    @ApiModelProperty(value = "调出仓库ID")
    private Long storageId;

    @ApiModelProperty(value = "出库单号")
    private String outStockOrder;

    @ApiModelProperty(value = "出库状态 0:待出库;1:已出库")
    private Integer states;

    @ApiModelProperty(value = "出库人")
    private String outgoingPerson;

    @ApiModelProperty(value = "出库时间")
    private Date outgoingTime;

    @ApiModelProperty(value = "出库日期")
    private String outgoingDay;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "仓库ids")
    private List<Long> storageIds;

    @ApiModelProperty(value = "出库商品列表")
    private List<KxStorageOutProductBo> outStorageProductBoList;
}
